package com.github.xuejike.springboot.app.common;


import com.bidanet.bdcms.core.vo.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;

import java.io.Serializable;

public class ServiceImpl<D extends JpaRepository<T,? extends Serializable>,T> implements IService<T> {
    @Autowired
    protected D baseRepository;

    @Override
    public void queryLike(T t, Page<T> page) {

    }

    @Override
    public void insert(T t) {

    }

    @Override
    public void update(T t) {

    }

    @Override
    public void del(Serializable id) {

    }

    @Override
    public T get(Serializable id) {
        return null;
    }
}
